package datamining;

import java.io.IOException;

public class Main
{

    public static void main(String[] args)
    {
        //Modify these
        String path = "test.txt";
        int maxItemSetSize = 3;
        int minSupport = 1;

        
        Input input = new Input(path);
        String[] data = null;
        try{
            data = input.ReadFile();
        }
        catch (IOException ex){
             ex.printStackTrace();
             System.out.println("Reading failure!");
        }
        Apriori apriori = new Apriori(data, minSupport);
        apriori.Apriorize(maxItemSetSize);
    }
}
